<template>
	<view class="content">
		 
	</view>
</template>

<script>
	import api from '@/api/api.js';
	export default {
		data() {
			return {
				page: {
					num: 1,  
					size: 10  
				}
			};
		},
		methods: {
			navigatHandler: function() {
				if (!this.utils.checkLoginState()) {
					setTimeout(() => {
						uni.reLaunch({
							url: 'login',
							animationType: 'pop-in',
							animationDuration: 100
						})
					}, 200);
				} else {
					uni.reLaunch({
						url: '../index/index',
						animationType: 'pop-in',
						animationDuration: 100
					})
				}
			},
			
		},
		onLoad() {
			this.navigatHandler();
			
		}
	};
	//接口请求
	//https://www.cnblogs.com/caitangbutian/p/12937289.html
	//https://blog.csdn.net/weixin_44763569/article/details/107267124
</script>

.content {
		height: 100%;
		width: 100%;
		position: relative;
		padding-top: 0;
	}
<style>
</style>
